﻿using System;

namespace HslCommunication.CNC.Fanuc
{
	/// <summary>
	/// 刀具信息
	/// </summary>
	// Token: 0x0200017F RID: 383
	public class CutterInfo
	{
		/// <summary>
		/// 长度形状补偿
		/// </summary>
		// Token: 0x1700067B RID: 1659
		// (get) Token: 0x06001F41 RID: 8001 RVA: 0x00097982 File Offset: 0x00095B82
		// (set) Token: 0x06001F42 RID: 8002 RVA: 0x0009798A File Offset: 0x00095B8A
		public double LengthSharpOffset { get; set; }

		/// <summary>
		/// 长度磨损补偿
		/// </summary>
		// Token: 0x1700067C RID: 1660
		// (get) Token: 0x06001F43 RID: 8003 RVA: 0x00097993 File Offset: 0x00095B93
		// (set) Token: 0x06001F44 RID: 8004 RVA: 0x0009799B File Offset: 0x00095B9B
		public double LengthWearOffset { get; set; }

		/// <summary>
		/// 半径形状补偿
		/// </summary>
		// Token: 0x1700067D RID: 1661
		// (get) Token: 0x06001F45 RID: 8005 RVA: 0x000979A4 File Offset: 0x00095BA4
		// (set) Token: 0x06001F46 RID: 8006 RVA: 0x000979AC File Offset: 0x00095BAC
		public double RadiusSharpOffset { get; set; }

		/// <summary>
		/// 半径磨损补偿
		/// </summary>
		// Token: 0x1700067E RID: 1662
		// (get) Token: 0x06001F47 RID: 8007 RVA: 0x000979B5 File Offset: 0x00095BB5
		// (set) Token: 0x06001F48 RID: 8008 RVA: 0x000979BD File Offset: 0x00095BBD
		public double RadiusWearOffset { get; set; }

		/// <inheritdoc />
		// Token: 0x06001F49 RID: 8009 RVA: 0x000979C8 File Offset: 0x00095BC8
		public override string ToString()
		{
			return string.Format("LengthSharpOffset:{0:10} LengthWearOffset:{1:10} RadiusSharpOffset:{2:10} RadiusWearOffset:{3:10}", new object[]
			{
				this.LengthSharpOffset,
				this.LengthWearOffset,
				this.RadiusSharpOffset,
				this.RadiusWearOffset
			});
		}
	}
}
